/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LEGION
 * Date: 2023-04-12
 * Time: 18:54
 */
public class J230412 {
    public static void main(String[] args) {

    }
    public static void main4(String[] args) {
        String str = "1120";
        int num = Integer.valueOf(str);
        int num2 = Integer.parseInt(str);
        System.out.println(num);
        System.out.println(num2);
//        System.out.println(10/0);
//        System.out.println(11.5%2);

    }
    public static void main3(String[] args) {
        int a = 100;
        String s1 = String.valueOf(a);
        System.out.println(s1);

        String s2 = a+"";
        System.out.println(s2);

        String s3 = 10+20+"x";
        String s4 = "x"+10+20;
        System.out.println(s3);
        System.out.println(s4);
    }

    public static void main2(String[] args) {
        boolean flag = true;
        System.out.println(flag);
    }

    public static void main1(String[] args) {
        int a = 2;
        System.out.println(a);
        System.out.println("hello word");
        System.out.println(Long.MIN_VALUE);
        long b = 10L;
        System.out.println(b);
        byte c = 10;
        System.out.println(3/5);
        double d = 1.1;
        System.out.println(d*d);
        char ch ='刘';
        System.out.println(ch);
    }
}
